#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
struct stu
{
	int num;
	char name[10];
};
void fun(struct stu* p)
{
	printf("%s",(*p).name);
}
int main()
{
	struct stu student[3] = {{1,"wang"},{2,"zhang"},{3,"li"}};
	fun(student + 1);
	return 0;
}
